{% extends "base.html" %}

{% block titulo %}{{ block.super }}{% endblock %}

{% block h2 %}Escolha as alternativas adequadas{% endblock %}

{% block conteudo %}
<form method="POST" action="/metogreen/gera_solucao/">
  <h4>Ambiente de Trabalho</h4>
    <select name="ambtrab">
<!--    <option>----------</option>-->
      {% for at in ambtrabs %}<option value="{{ at.id }}">{{ at.nome }}</option>
      {% endfor %}</select>
  <h4>Datacenter</h4>
    <select name="datacenter">
<!--    <option>----------</option>-->
      {% for d in datacenters %}<option value="{{ d.id }}">{{ d.nome }}</option>
      {% endfor %}</select>
  <h4>Solução</h4>
    <select name="solucao">
<!--    <option>----------</option>-->
      {% for s in solucoes %}<option value="{{ s.id }}">{{ s.nome }}</option>
      {% endfor %}</select>
    <hr />
    <p><input type="submit" value="Gerar Solução"/></p>
</form>


{% endblock conteudo %}